package com.eventapp.service;

import com.eventapp.model.Event;
import com.eventapp.model.EventPrivate;
import com.eventapp.model.EventPublic;
import com.eventapp.model.Role;
import com.eventapp.model.User;

import java.util.List;


public interface EventManager extends GenericManager<Event, Long> {

	   public List<EventPublic> getPublicEvents();
	   
	   public List<EventPublic> getPublicEventsByOwner(User owner);
	    
	   public List<EventPrivate> getPrivateEventsByOwner(User owner);

	   public Event saveEvent(Event event) throws EventExistsException;;
}
